//
//  BEDetailView.swift
//  BEGlobalOiler
//
//  Created by KKING on 16/9/20.
//  Copyright © 2016年 Bullseye Energy pte ltd. All rights reserved.
//

import UIKit

class BEDetailView: UIView {

    @IBOutlet weak var picCollectionView: UICollectionView!
    
    @IBOutlet weak var workTypelbl: UILabel!
    
    @IBOutlet weak var jobTypelbl: UILabel!
    
    @IBOutlet weak var equipTypelbl: UILabel!
    
    @IBOutlet weak var equipBrandlbl: UILabel!
    
    @IBOutlet weak var equipModellbl: UILabel!
    
    @IBOutlet weak var issuelbl: UILabel!

    
    var detailModel: BEOrderDetailModel = BEOrderDetailModel(dict:["":"" as AnyObject]){
        didSet{
            workTypelbl.text = ""
            jobTypelbl.text = ""
            equipTypelbl.text = ""
            equipBrandlbl.text = ""
            equipModellbl.text = ""
            issuelbl.text = ""
        }
    }
    
    
    
    class func detailView()->UIView {
        return Bundle.main.loadNibNamed("BEDetailView", owner: nil, options: nil)!.last as! UIView
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        picCollectionView.backgroundColor = UIColor.colorWithHexString(hex: "#f5f5f8")
    }
}
